package Proxy_Pattern.Img;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class ProxyPhoto implements Photo{
    private RealPhoto realPhoto=new RealPhoto();
    private DuiBi duiBi;
    public void Look(int num) {
        realPhoto.Look(this.dui_bi(num));
    }

    public int dui_bi(int num){
        duiBi=new DuiBi();
        return duiBi.dui_bi(num);
    }
}
